﻿using DLLPC.Utilities;
using PCBase.UIControls;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VisionCore
{
    public class PRM_TrayRoad
    {
        [Category("0.基本参数"), DisplayName("00.Tray ID"), Description("")]
        [TypeConverter(typeof(PropertiesExpandConverter))]
        public PRM_Road Tray { get; set; } =new PRM_Road();

        
    }

    public class PRM_DieRoad
    {
        [Category("0.基本参数"), DisplayName("0.Die ID"), Description("")]
        public string PRM_ID { get; set; } = "00_00";

        [Category("0.基本参数"), DisplayName("行序号"), Description("")]
        public int RowIdx { get; set; } = 0;

        [Category("0.基本参数"), DisplayName("列序号"), Description("")]
        public int ColIdx { get; set; } = 0;
    }

    public class PRM_Road
    {
        [Category("0.基本参数"), DisplayName("00.ID"), Description("")]
        public string PRM_ID { get; set; } = "00_00";

        [Category("0.基本参数"), DisplayName("01.基准点"), Description("")]
        public PointRotation.Point Base { get; set; } =new PointRotation.Point();

        [Category("0.基本参数"), DisplayName("05.行序号"), Description("")]
        public int RowIdx { get; set; } = 0;

        [Category("0.基本参数"), DisplayName("06.列序号"), Description("")]
        public int ColIdx { get; set; } = 0;

        [Category("0.基本参数"), DisplayName("10.装载标识"), Description("")]
        public bool LoadComp { get; set; } = false;

        public override string ToString()
        {
            return "...";
        }
    }
}
